package br.com.evoluy.util;

import java.sql.DriverManager;
import java.sql.SQLException;
import com.mysql.jdbc.Connection;

public class ConnectionFactory {
	
	public Connection getConnection() 
	{		
		try 
		{
			return (Connection) DriverManager.getConnection("jdbc:mysql://localhost/sis", "root", "");	
		} 
		catch (SQLException e) 
		{
			throw new RuntimeException(e);
		}
		
	}
}
